import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";

export class GetUserLittleThingsDTO{
  @ApiProperty({ description: '用户ID' })
  readonly UserSysID: number;

  /**
   * 0全部 1已完成 2未完成
   */
  @ApiPropertyOptional({ description: '查询的清单类型' })
  readonly ThingsType: string;
}

export class CompleteUserLittleThingsDTO{
  @ApiProperty({ description: 'ID' })
  readonly SysID: number;

  @ApiProperty({ description: '完成时间' })
  readonly CompleteTime: string;

  @ApiProperty({ description: '完成地点' })
  readonly CompleteAddress: string;

  @ApiProperty({ description: '小事描述' })
  readonly ThingContent: string;

  @ApiProperty({ description: '图片数据' })
  readonly ImageData: string[];
  
}

export class GetCompletedUserLittleThingsInfoDTO{
  @ApiProperty({ description: 'ID' })
  readonly SysID: number;
}